package com.yuanfeng.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuanfeng.business.dto.HotMarketDTO;
import com.yuanfeng.business.dto.ShopClassQueryDTO;
import com.yuanfeng.business.entity.ShopClassEntity;
import com.yuanfeng.business.vo.BindGoodsListVO;
import com.yuanfeng.business.vo.DealerSetVO;
import com.yuanfeng.business.vo.GdbMerchantShopClassVO;
import com.yuanfeng.business.vo.ShopJoinExpenseVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @ClassName ShopClassMapper
 * @Description 店铺分类
 * @Author cf
 * @Date 2023/6/14 16:30
 * @Version 1.0
 */
@Mapper
public interface ShopClassMapper extends BaseMapper<ShopClassEntity> {


    /**
     * 查看-店铺收费标准
     *
     * @param param
     * @return
     */
    List<ShopJoinExpenseVO> queryShopJoinExpense(@Param("param") Map<String, Object> param);

    /**
     * 店铺分类查询列表
     *
     * @param param
     * @return
     */
    IPage<GdbMerchantShopClassVO> selectShopClassList(IPage<GdbMerchantShopClassVO> page,@Param("param") ShopClassQueryDTO param);

    DealerSetVO queryDealerSet(@Param("key") String key);

    IPage<BindGoodsListVO> queryHotBindGoodsList(Page<BindGoodsListVO> page,@Param("param") HotMarketDTO hotMarketRequest);
}
